package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperOrderOutstock implements Serializable {
    /**
     * 出库单号
     */
    private Integer outId;

    /**
     * 订单编号；0 是手动创建的出库单
     */
    private Integer orderId;

    /**
     * 创建日期
     */
    private Date oIndate;

    /**
     * 制单人员
     */
    private String creater;

    /**
     * 出库目的（0--其它；1-代管库；2自动出库）
     */
    private Integer outIntent;

    /**
     * 期望出库时间
     */
    private Date expTime;

    /**
     * 出库状态：0-未出库；1;-已出库
     */
    private Integer oStatus;

    /**
     * 客户端部门ID
     */
    private Integer cextId;

    /**
     * 客户联系人
     */
    private String cperson;

    /**
     * 客户ID
     */
    private Integer cid;

    /**
     * 客户电话
     */
    private String cphone;

    /**
     * 送货方式（1-自送；2-自取；3-快递）
     */
    private Integer deliverMethod;

    /**
     * 0--未送货；1--提货完成；2送货完成
     */
    private Integer lStatus;

    /**
     * 快递应付
     */
    private Double eMoney;

    /**
     * （销售订单）审核通过时间
     */
    private Date oSTime;

    /**
     * 快递公司
     */
    private String eCompany;

    /**
     * 快递单号
     */
    private String eNumber;

    /**
     * push到终端的唯一码 销售订单需要凭借此码进行出库
     */
    private Long uniqueCode;

    /**
     * 提货人
     */
    private String tPerson;

    /**
     * 提货时间
     */
    private Date tTime;

    private static final long serialVersionUID = 1L;

    /**
     * 出库单号
     */
    public Integer getOutId() {
        return outId;
    }

    /**
     * 出库单号
     */
    public void setOutId(Integer outId) {
        this.outId = outId;
    }

    /**
     * 订单编号；0 是手动创建的出库单
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 订单编号；0 是手动创建的出库单
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 创建日期
     */
    public Date getoIndate() {
        return oIndate;
    }

    /**
     * 创建日期
     */
    public void setoIndate(Date oIndate) {
        this.oIndate = oIndate;
    }

    /**
     * 制单人员
     */
    public String getCreater() {
        return creater;
    }

    /**
     * 制单人员
     */
    public void setCreater(String creater) {
        this.creater = creater;
    }

    /**
     * 出库目的（0--其它；1-代管库；2自动出库）
     */
    public Integer getOutIntent() {
        return outIntent;
    }

    /**
     * 出库目的（0--其它；1-代管库；2自动出库）
     */
    public void setOutIntent(Integer outIntent) {
        this.outIntent = outIntent;
    }

    /**
     * 期望出库时间
     */
    public Date getExpTime() {
        return expTime;
    }

    /**
     * 期望出库时间
     */
    public void setExpTime(Date expTime) {
        this.expTime = expTime;
    }

    /**
     * 出库状态：0-未出库；1;-已出库
     */
    public Integer getoStatus() {
        return oStatus;
    }

    /**
     * 出库状态：0-未出库；1;-已出库
     */
    public void setoStatus(Integer oStatus) {
        this.oStatus = oStatus;
    }

    /**
     * 客户端部门ID
     */
    public Integer getCextId() {
        return cextId;
    }

    /**
     * 客户端部门ID
     */
    public void setCextId(Integer cextId) {
        this.cextId = cextId;
    }

    /**
     * 客户联系人
     */
    public String getCperson() {
        return cperson;
    }

    /**
     * 客户联系人
     */
    public void setCperson(String cperson) {
        this.cperson = cperson;
    }

    /**
     * 客户ID
     */
    public Integer getCid() {
        return cid;
    }

    /**
     * 客户ID
     */
    public void setCid(Integer cid) {
        this.cid = cid;
    }

    /**
     * 客户电话
     */
    public String getCphone() {
        return cphone;
    }

    /**
     * 客户电话
     */
    public void setCphone(String cphone) {
        this.cphone = cphone;
    }

    /**
     * 送货方式（1-自送；2-自取；3-快递）
     */
    public Integer getDeliverMethod() {
        return deliverMethod;
    }

    /**
     * 送货方式（1-自送；2-自取；3-快递）
     */
    public void setDeliverMethod(Integer deliverMethod) {
        this.deliverMethod = deliverMethod;
    }

    /**
     * 0--未送货；1--提货完成；2送货完成
     */
    public Integer getlStatus() {
        return lStatus;
    }

    /**
     * 0--未送货；1--提货完成；2送货完成
     */
    public void setlStatus(Integer lStatus) {
        this.lStatus = lStatus;
    }

    /**
     * 快递应付
     */
    public Double geteMoney() {
        return eMoney;
    }

    /**
     * 快递应付
     */
    public void seteMoney(Double eMoney) {
        this.eMoney = eMoney;
    }

    /**
     * （销售订单）审核通过时间
     */
    public Date getoSTime() {
        return oSTime;
    }

    /**
     * （销售订单）审核通过时间
     */
    public void setoSTime(Date oSTime) {
        this.oSTime = oSTime;
    }

    /**
     * 快递公司
     */
    public String geteCompany() {
        return eCompany;
    }

    /**
     * 快递公司
     */
    public void seteCompany(String eCompany) {
        this.eCompany = eCompany;
    }

    /**
     * 快递单号
     */
    public String geteNumber() {
        return eNumber;
    }

    /**
     * 快递单号
     */
    public void seteNumber(String eNumber) {
        this.eNumber = eNumber;
    }

    /**
     * push到终端的唯一码 销售订单需要凭借此码进行出库
     */
    public Long getUniqueCode() {
        return uniqueCode;
    }

    /**
     * push到终端的唯一码 销售订单需要凭借此码进行出库
     */
    public void setUniqueCode(Long uniqueCode) {
        this.uniqueCode = uniqueCode;
    }

    /**
     * 提货人
     */
    public String gettPerson() {
        return tPerson;
    }

    /**
     * 提货人
     */
    public void settPerson(String tPerson) {
        this.tPerson = tPerson;
    }

    /**
     * 提货时间
     */
    public Date gettTime() {
        return tTime;
    }

    /**
     * 提货时间
     */
    public void settTime(Date tTime) {
        this.tTime = tTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", outId=").append(outId);
        sb.append(", orderId=").append(orderId);
        sb.append(", oIndate=").append(oIndate);
        sb.append(", creater=").append(creater);
        sb.append(", outIntent=").append(outIntent);
        sb.append(", expTime=").append(expTime);
        sb.append(", oStatus=").append(oStatus);
        sb.append(", cextId=").append(cextId);
        sb.append(", cperson=").append(cperson);
        sb.append(", cid=").append(cid);
        sb.append(", cphone=").append(cphone);
        sb.append(", deliverMethod=").append(deliverMethod);
        sb.append(", lStatus=").append(lStatus);
        sb.append(", eMoney=").append(eMoney);
        sb.append(", oSTime=").append(oSTime);
        sb.append(", eCompany=").append(eCompany);
        sb.append(", eNumber=").append(eNumber);
        sb.append(", uniqueCode=").append(uniqueCode);
        sb.append(", tPerson=").append(tPerson);
        sb.append(", tTime=").append(tTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperOrderOutstock other = (SuperOrderOutstock) that;
        return (this.getOutId() == null ? other.getOutId() == null : this.getOutId().equals(other.getOutId()))
            && (this.getOrderId() == null ? other.getOrderId() == null : this.getOrderId().equals(other.getOrderId()))
            && (this.getoIndate() == null ? other.getoIndate() == null : this.getoIndate().equals(other.getoIndate()))
            && (this.getCreater() == null ? other.getCreater() == null : this.getCreater().equals(other.getCreater()))
            && (this.getOutIntent() == null ? other.getOutIntent() == null : this.getOutIntent().equals(other.getOutIntent()))
            && (this.getExpTime() == null ? other.getExpTime() == null : this.getExpTime().equals(other.getExpTime()))
            && (this.getoStatus() == null ? other.getoStatus() == null : this.getoStatus().equals(other.getoStatus()))
            && (this.getCextId() == null ? other.getCextId() == null : this.getCextId().equals(other.getCextId()))
            && (this.getCperson() == null ? other.getCperson() == null : this.getCperson().equals(other.getCperson()))
            && (this.getCid() == null ? other.getCid() == null : this.getCid().equals(other.getCid()))
            && (this.getCphone() == null ? other.getCphone() == null : this.getCphone().equals(other.getCphone()))
            && (this.getDeliverMethod() == null ? other.getDeliverMethod() == null : this.getDeliverMethod().equals(other.getDeliverMethod()))
            && (this.getlStatus() == null ? other.getlStatus() == null : this.getlStatus().equals(other.getlStatus()))
            && (this.geteMoney() == null ? other.geteMoney() == null : this.geteMoney().equals(other.geteMoney()))
            && (this.getoSTime() == null ? other.getoSTime() == null : this.getoSTime().equals(other.getoSTime()))
            && (this.geteCompany() == null ? other.geteCompany() == null : this.geteCompany().equals(other.geteCompany()))
            && (this.geteNumber() == null ? other.geteNumber() == null : this.geteNumber().equals(other.geteNumber()))
            && (this.getUniqueCode() == null ? other.getUniqueCode() == null : this.getUniqueCode().equals(other.getUniqueCode()))
            && (this.gettPerson() == null ? other.gettPerson() == null : this.gettPerson().equals(other.gettPerson()))
            && (this.gettTime() == null ? other.gettTime() == null : this.gettTime().equals(other.gettTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOutId() == null) ? 0 : getOutId().hashCode());
        result = prime * result + ((getOrderId() == null) ? 0 : getOrderId().hashCode());
        result = prime * result + ((getoIndate() == null) ? 0 : getoIndate().hashCode());
        result = prime * result + ((getCreater() == null) ? 0 : getCreater().hashCode());
        result = prime * result + ((getOutIntent() == null) ? 0 : getOutIntent().hashCode());
        result = prime * result + ((getExpTime() == null) ? 0 : getExpTime().hashCode());
        result = prime * result + ((getoStatus() == null) ? 0 : getoStatus().hashCode());
        result = prime * result + ((getCextId() == null) ? 0 : getCextId().hashCode());
        result = prime * result + ((getCperson() == null) ? 0 : getCperson().hashCode());
        result = prime * result + ((getCid() == null) ? 0 : getCid().hashCode());
        result = prime * result + ((getCphone() == null) ? 0 : getCphone().hashCode());
        result = prime * result + ((getDeliverMethod() == null) ? 0 : getDeliverMethod().hashCode());
        result = prime * result + ((getlStatus() == null) ? 0 : getlStatus().hashCode());
        result = prime * result + ((geteMoney() == null) ? 0 : geteMoney().hashCode());
        result = prime * result + ((getoSTime() == null) ? 0 : getoSTime().hashCode());
        result = prime * result + ((geteCompany() == null) ? 0 : geteCompany().hashCode());
        result = prime * result + ((geteNumber() == null) ? 0 : geteNumber().hashCode());
        result = prime * result + ((getUniqueCode() == null) ? 0 : getUniqueCode().hashCode());
        result = prime * result + ((gettPerson() == null) ? 0 : gettPerson().hashCode());
        result = prime * result + ((gettTime() == null) ? 0 : gettTime().hashCode());
        return result;
    }
}